
local mt = ac.skill['狂乱']
mt.effect = [[Abilities\Weapons\PhoenixMissile\Phoenix_Missile_mini.mdl]]

function mt:on_add()
    local hero = self.owner
    self:gc(hero:add_effect(self.effect,'hand left'))
    self:gc(hero:add_effect(self.effect,'hand right'))
    self:gc(hero:add_buff '光环'{
        buff_name = '狂乱光环',
        area_type = 'ally',
        aura_area = 900,
    })
end


local buff = ac.buff['狂乱光环']
buff.time = 1
buff.cover_type = 1
buff.cover_max = 1
function buff:on_add()
    local hero = self.owner
    self:gc(hero:add('攻击速度',100))
    self:gc(hero:add('移动速度%',100))
end
